<template>
 <div>
 <h2>商品相关信息</h2>
      <div>
        <div>商品id: <strong>{{goodInfo.goodNo}}</strong></div>
        <div>商品名称: <strong>{{goodInfo.goodName}}</strong></div>
        <div>商品描述: <slot name="desc" :src='goodInfo.desc'>这是一本好书</slot></div>
      </div>
 </div>
</template>

<script>
 export default {
   name: 'MyGoods',
   props: {
    goodInfo:Object,
   },
   components: {

   },
   data () {
     return {

     }
   },
   methods: {

   },
   mounted() {

   },
   watch: {

   },
   computed: {

   },
   filters: {

   }
 }
</script>

<style scoped lang='less'>

</style>